package com.boot.producer.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.Version;

import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhangZhilei
 * @since 2019-01-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("basicinfo")
public class BasicInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 平均车速
     */
    private Float avgSpeed;
    /**
     * 夜间车速
     */
    private Float nightSpeed;
    /**
     * 总里程
     */
    private Float totalDistance;
    /**
     * 连续驾驶时长
     */
    private Integer continueTime;
    /**
     * 夜间行驶时长
     */
    private Integer nightTime;
    /**
     * 行驶时间
     */
    private Integer totalTime;
    /**
     * 时间
     */
    private Date time;


}
